Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SQL client uses test containers + JDBC URL added to ProgramEnvironment #452

Merged
merged 4 commits into from
Jul 1, 2024

Conversation

bgaidioz
Copy link
Collaborator

@bgaidioz bgaidioz commented Jun 26, 2024

The changeset includes:

  • SQL client tests now using a Postgres test container. That permits the CI to run these tests (they are disabled otherwise).
  • Added jdbcUrl to the ProgramEnvironment so that the SQL compiler can just retrieve it before running a query or anything.
  • removed dependencies of sqlClient on raw.snapi.frontend (removal of CredentialsService use) and raw.sources that was there by copy-paste accident.

@bgaidioz bgaidioz force-pushed the sql-client-test-container branch 3 times, most recently from 3b49b01 to 01f1fe9 Compare June 27, 2024 15:37
@bgaidioz bgaidioz changed the title Switch sql-client tests to test containers SQL client uses test containers + JDBC URL added to ProgramEnvironment Jun 27, 2024
@bgaidioz bgaidioz force-pushed the sql-client-test-container branch 3 times, most recently from 4d9ff21 to 83d656a Compare June 28, 2024 09:30
Copy link
Contributor

@miguelbranco80 miguelbranco80 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice 👍

@bgaidioz bgaidioz force-pushed the sql-client-test-container branch from 3684f60 to a001962 Compare July 1, 2024 07:21
@bgaidioz bgaidioz merged commit 3ccc2b4 into main Jul 1, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants